package com.gy.hsim.netty;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.FileSystemXmlApplicationContext;

import com.gy.hsim.netty.server.NettyServer;

public class ServerMain {
	public static void main(String[] args) throws Exception {
//		ApplicationContext ctx = new FileSystemXmlApplicationContext("D:\\workspace\\hsim\\hsim-bservice\\target\\classes\\spring\\spring-global.xml"); 
//		NettyServer server = (NettyServer)ctx.getBean(NettyServer.class);
		NettyServer server = new NettyServer(8111);
		server.run();
	}
}
